package com.jy.admin.enums;

/**
 * Created with IntelliJ IDEA.
 * User: sm
 * Date: 2021/11/27
 * Time: 12:29 上午
 */
public enum OpdUploadStatusEnum {
    WAITING(0, "waiting for expand"),
    FINISHED(1, "expand already"),
    EXCEPTION(2, "something wrong happend"),
    EXPANDING(4, "expanding data ");

    private Integer status;

    private String desc;

    OpdUploadStatusEnum(Integer status, String desc) {
        this.status = status;
        this.desc = desc;
    }

    public Integer getStatus() {
        return status;
    }

    public OpdUploadStatusEnum setStatus(Integer status) {
        this.status = status;
        return this;
    }

    public String getDesc() {
        return desc;
    }

    public OpdUploadStatusEnum setDesc(String desc) {
        this.desc = desc;
        return this;
    }
}
